<!DOCTYPE html>
<html>
    <head>
        <meta charset='utf-8' />
        <title>CSS样式</title>
        <meta name='keywords' content=''  />
        <meta name='description' content='' />
   
           
            <style>
                div[class*="c"] {
                    border: 2px solid red;
                }
            </style>

           
          
    
        
    </head>
    <body>
       
            <div class="abc">1</div>
            <div class="cba">2</div>
            <div class="ba">3</div>
       
    </body>
</html>